package com.servlet;

import org.springframework.web.servlet.DispatcherServlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

/**
 * Created by bai on 2017/6/24.
 */
@WebServlet(name="mv",urlPatterns={"/"},loadOnStartup = 1,initParams = {@WebInitParam(name="contextConfigLocation",value = "classpath:mvc.xml")})
public class SpringServlet extends DispatcherServlet {
}
